# [config system disk ]
{% for item in groups['nodes'] %}
[ ! -f "{{ vm_system_path }}/{{ hostvars[item]['hostname'] }}.qcow2" ] && qemu-img create -f qcow2 -o size={{ hostvars[item]['system_disk_size'] }} {{ vm_system_path }}/{{ hostvars[item]['hostname'] }}.qcow2
{% endfor %}

exit 0
